/*
 * @Author: liuhandong
 * @Date: 2020-11-24 08:17:48
 */
using UnityEngine;

public class ShadowMapCamera : MonoBehaviour
{
    public static Camera current;
    public void OnEnable()
    {
        var cam = GetComponent<Camera>();
        cam.SetReplacementShader(Shader.Find("Unlit/ShadowShader"), null);
        current = cam;
    }
}